#pragma once

#include <QMainWindow>
#include "ui_QtWidgetsClass.h"

namespace cv
{
	class Mat;
}

class rindo_view3d_widget;
class QtWidgetsClass : public QMainWindow
{
	Q_OBJECT

public:
	QtWidgetsClass(QWidget *parent = nullptr);
	~QtWidgetsClass();

	void AddPLYData(const char* file_name, int id = 0);

	void AddPointCloud(cv::Mat points, int id = 0);
	void AddPointCloud(cv::Mat points, cv::Mat depth, cv::Mat gray, int id = 0);

	void AddLog(std::string log, bool is_info);

private:
	Ui::QtWidgetsClassClass ui;

	rindo_view3d_widget* mpViewWidget;
};
